<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Waiting_page extends Front_Controller{
    function Waiting_page(){
        parent::Front_Controller();
    }

    function index(){
        $CI = &get_instance();
        $CI->load->module_model('front.home.block_model');
        $block = $CI->block_model->get_block_by_function_name('get_wl_block');

        $contents = array(' ', 
                          '<p>{Waiting-List-Form_'.$block->block_id.'}<p>', 
                          ' ');

        $s = Modules::run('front.home.home.index', TRUE, NULL, $contents);
        $this->add('the_form', $s);
        $this->view('course_page');
    }
}